<template>
    <div class="" id="addfac">
      <el-row >
            <el-col :span="22" :offset="1">
                <h2 style="text-align:center;">{{facMessage.facName}}</h2>
            </el-col>
            <el-col :span="22" :offset="1">
                <div class="permission-content bg-purple user-table" >
                    <el-form ref="form" :model="form" label-width="80px" style="padding:20px 0 0 0">
                      <el-form-item >
                        <el-col :span="16">
                          <div style="margin:0 auto;padding-left:20%;">
                              <img src="../../assets/404_images/404.png" width="80%"  alt="">
                          </div>
                         
                        </el-col>
                        <el-col :span="8" v-for="(item,name,value) in form" :key="value">
                          <el-form-item label="设备名称" :style="value==0?'margin:20px 0 0 0;':''">
                            <span>{{form.name}}</span>
                            {{value}}
                          </el-form-item>
                        </el-col>
                      </el-form-item>
                      
                    </el-form>
                </div>
            </el-col>
        </el-row>
    </div>
</template>
<script>
import { mapState } from 'vuex'
export default {
    data() {
      return{
         text:"测试",
          tableData:[],
          formData:{},
          form: {
          name: '测试设备',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '',
          desc: '',
          name1: '测试设备',
          region2: '',
          date13: '',
          date24: '',
          delivery5: false,
          type6: [],
          resource7: '',
          desc8: ''
        },
          facMessage:{},
          dialogVisible:false
      }  
    },
    computed:
     {
        // ...mapState(['basic'])
     },
    created(){
    },
    mounted(){
    },
    methods:{
      cancel(){
        this.$router.push({
          name:'faclist',
          params:{
            datas:data
          }
        })
      }
      
    }
}
</script>
<style lang='scss' scoped>

</style>